package com.itwk.gulimall.product.feign;

import com.itwk.common.to.SkuReductionTo;
import com.itwk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wangke
 * @Date: 2021/01/20/上午 10:48
 * @Description:
 */
@FeignClient("gulimall-coupon")
public interface SkuLadderFeign {
    @RequestMapping("/coupon/skuladder/save")
    public R save(@RequestBody SkuReductionTo reductionTo);
}
